#ifndef __SAVINGS_ACCOUNT_H
#define __SAVINGS_ACCOUNT_H

#include "Account.h"
#include "Date.h"
#include "Client.h"

using namespace std;

class SavingsAccount : public Account
{
private:
	const	Date	timeForSaving;
			float	depositPercent;

					SavingsAccount(const SavingsAccount& s);
			void	operator=(const SavingsAccount& other);
	virtual void	toOs(ostream& os)							const;

public:
	
					SavingsAccount(int balance, const Date& timeForSaving, float depositPercent);
			float	getDepositePrecentage();
			bool	operator==(const SavingsAccount& other)		const;
	virtual			~SavingsAccount();
};

#endif